package org.osomit.sacct.service.iface;

import org.osomit.sacct.entity.RequestContext;
import org.osomit.sacct.entity.ApplicationAccount;
import org.osomit.sacct.entity.SessionInfo;

import java.util.List;

/**
 * @author Jian Fang (John.Jian.Fang@gmail.com)
 *
 * Date: Jun 29, 2009
 */
public interface AccountService extends Service{

    ApplicationAccount fetchAccount(RequestContext context, String account);

    List<ApplicationAccount> fetchAllAccounts(RequestContext context);

}
